Skip to content

Conversation

@Skgland
Copy link
Contributor

@Skgland Skgland commented Nov 27, 2025

Picking up what should be the uncontroversial part of #87173 (closed due to inactivity over two years ago).

Part of #99515.

  • move proc_macro::tracked_env::var to proc_macro::tracked::env_var
  • move proc_macro::tracked_path::path to proc_macro::tracked::path
  • change the argument of proc_macro::tracked::path from AsRef<str> to AsRef<Path>.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 27, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 27, 2025

r? @petrochenkov

rustbot has assigned @petrochenkov.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added the A-run-make Area: port run-make Makefiles to rmake.rs label Nov 27, 2025
@rust-log-analyzer

This comment has been minimized.

@petrochenkov petrochenkov added S-waiting-on-t-libs-api Status: Awaiting decision from T-libs-api T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. I-libs-api-nominated Nominated for discussion during a libs-api team meeting. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 28, 2025
@Skgland
Copy link
Contributor Author

Skgland commented Nov 28, 2025

I am having a bit of a problem running the complete test-suite locally.

For some reason 15 debuginfo-lldb tests are failing with errors in python code.

Log

[debuginfo-lldb] tests/debuginfo/struct-in-enum.rs ... F

[debuginfo-lldb] tests/debuginfo/function-prologue-stepping-regular.rs ... F

[debuginfo-lldb] tests/debuginfo/coroutine-objects.rs ... F

[debuginfo-lldb] tests/debuginfo/by-value-non-immediate-argument.rs ... F

[debuginfo-lldb] tests/debuginfo/enum-thinlto.rs ... F

[debuginfo-lldb] tests/debuginfo/borrowed-enum.rs ... F

[debuginfo-lldb] tests/debuginfo/struct-style-enum.rs ... F

[debuginfo-lldb] tests/debuginfo/function-arg-initialization.rs ... F

[debuginfo-lldb] tests/debuginfo/tuple-style-enum.rs ... F

[debuginfo-lldb] tests/debuginfo/macro-stepping.rs ... F

[debuginfo-lldb] tests/debuginfo/issue-57822.rs ... F

[debuginfo-lldb] tests/debuginfo/pretty-std.rs ... F

[debuginfo-lldb] tests/debuginfo/method-on-enum.rs ... F

[debuginfo-lldb] tests/debuginfo/option-like-enum.rs ... F

[debuginfo-lldb] tests/debuginfo/unique-enum.rs ... F


failures:

---- [debuginfo-lldb] tests/debuginfo/struct-in-enum.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/struct-in-enum.rs` not found in debugger output. errors:
    (struct-in-enum.rs:27) `[...] Case1(0, {x:2088533116, y:2088533116, z:31868}) { 0 = 0 1 = { x = 2088533116 y = 2088533116 z = 31868 } }`
    (struct-in-enum.rs:30) `[...] Case2(0, 1229782938247303441, 4369) { 0 = 0 1 = 1229782938247303441 2 = 4369 }`
    (struct-in-enum.rs:33) `[...] TheOnlyCase({x:123, y:456, z:789}) { 0 = { x = 123 y = 456 z = 789 } }`
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/struct-in-enum.lldb/struct-in-enum.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/struct-in-enum.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/struct-in-enum.lldb/struct-in-enum.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/struct-in-enum.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/struct-in-enum.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'struct-in-enum.rs' --line 78
Breakpoint 1: where = a`struct_in_enum::main + 139 at struct-in-enum.rs:78:5, address = 0x0000000000001b4b 
DEBUG: breakpoint added, id = 1
run
Process 82034 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/struct-in-enum.lldb/a' (x86_64) Process 82034 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x0000555555555b4b a`struct_in_enum::main at struct-in-enum.rs:78:5 75 76 let univariant = TheOnlyCase(Struct { x: 123, y: 456, z: 789 }); 77 -> 78 zzz(); // #break ^ 79 } 80 81 fn zzz() {()} 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

v case1
(struct_in_enum::Regular) case1 = { $variants$ = { $variant$0 = { $discr$ = 0 value = { 0 = 0 1 = { x = 2088533116 y = 2088533116 z = 31868 } } } $variant$1 = { $discr$ = 0 value = { 0 = 136874106322044 1 = 0 2 = -129 } } } } 
v case2
(struct_in_enum::Regular) case2 = { $variants$ = { $variant$0 = { $discr$ = 1 value = { 0 = 1229782938247303441 1 = { x = 32767 y = 0 z = 0 } } } $variant$1 = { $discr$ = 1 value = { 0 = 0 1 = 1229782938247303441 2 = 4369 } } } } 
v univariant
(struct_in_enum::Univariant) univariant = { $variants$ = { $variant$ = { value = { 0 = { x = 123 y = 456 z = 789 } } } } } 
quit
------------------------------------------
--- stderr -------------------------------
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
------------------------------------------

---- [debuginfo-lldb] tests/debuginfo/struct-in-enum.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/function-prologue-stepping-regular.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/function-prologue-stepping-regular.rs` not found in debugger output. errors:
    (function-prologue-stepping-regular.rs:33) `[...] { a = 3, b = 4, c = 5, d = 6, e = 7, f = 8, g = 9, h = 10 }`
    (function-prologue-stepping-regular.rs:35) `[...] { a = 11, b = 12, c = 13, d = 14, e = 15, f = 16, g = 17, h = 18 }`
    (function-prologue-stepping-regular.rs:112) `[...] 43`
    (function-prologue-stepping-regular.rs:114) `[...] 44`
    (function-prologue-stepping-regular.rs:116) `[...] 45`
the following subset of check directive(s) was found successfully:
    (function-prologue-stepping-regular.rs:24) `DEBUG: breakpoint added, id = 1`
    (function-prologue-stepping-regular.rs:26) `(bool) b = true `
    (function-prologue-stepping-regular.rs:28) `(double) c = 2.5 `
    (function-prologue-stepping-regular.rs:40) `(long) a = 19 `
    (function-prologue-stepping-regular.rs:42) `(unsigned long) b = 20 `
    (function-prologue-stepping-regular.rs:44) `(double) c = 21.5 `
    (function-prologue-stepping-regular.rs:49) `(unsigned long) a = 22 `
    (function-prologue-stepping-regular.rs:51) `(unsigned long) b = 23 `
    (function-prologue-stepping-regular.rs:53) `(double) c = 24.5 `
    (function-prologue-stepping-regular.rs:58) `(unsigned long) x = 25 `
    (function-prologue-stepping-regular.rs:60) `(unsigned long) y = 26 `
    (function-prologue-stepping-regular.rs:62) `(double) z = 27.5 `
    (function-prologue-stepping-regular.rs:67) `(unsigned long) x = 28 `
    (function-prologue-stepping-regular.rs:69) `(unsigned long) y = 29 `
    (function-prologue-stepping-regular.rs:71) `(double) z = 30.5 `
    (function-prologue-stepping-regular.rs:76) `(unsigned long) x = 31 `
    (function-prologue-stepping-regular.rs:78) `(unsigned long) y = 32 `
    (function-prologue-stepping-regular.rs:80) `(double) z = 33.5 `
    (function-prologue-stepping-regular.rs:85) `(unsigned long) x = 34 `
    (function-prologue-stepping-regular.rs:87) `(unsigned long) y = 35 `
    (function-prologue-stepping-regular.rs:89) `(double) z = 36.5 `
    (function-prologue-stepping-regular.rs:94) `(unsigned long) x = 37 `
    (function-prologue-stepping-regular.rs:96) `(unsigned long) y = 38 `
    (function-prologue-stepping-regular.rs:98) `(double) z = 39.5 `
    (function-prologue-stepping-regular.rs:103) `(unsigned long) x = 40 `
    (function-prologue-stepping-regular.rs:105) `(unsigned long) y = 41 `
    (function-prologue-stepping-regular.rs:107) `(unsigned long) z = 42 `
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/function-prologue-stepping-regular.lldb/function-prologue-stepping-regular.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/function-prologue-stepping-regular.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/function-prologue-stepping-regular.lldb/function-prologue-stepping-regular.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/function-prologue-stepping-regular.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/function-prologue-stepping-regular.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --name immediate_args
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`function_prologue_stepping_regular::immediate_args + 20 at function-prologue-stepping-regular.rs:123:2, address = 0x0000000000001f44 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --name non_immediate_args
DEBUG: breakpoint added, id = 2
Breakpoint 2: where = a`function_prologue_stepping_regular::non_immediate_args at function-prologue-stepping-regular.rs:138:2, address = 0x0000000000001f90 
DEBUG: registering breakpoint callback, id = 2
Error while trying to register breakpoint callback, id = 2, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --name binding
Breakpoint 3: where = a`function_prologue_stepping_regular::binding + 16 at function-prologue-stepping-regular.rs:141:9, address = 0x0000000000002150 
breakpoint set --name assignment
DEBUG: breakpoint added, id = 3
DEBUG: breakpoint added, id = 4
Breakpoint 4: where = a`function_prologue_stepping_regular::assignment + 16 at function-prologue-stepping-regular.rs:145:5, address = 0x0000000000001e10 
DEBUG: registering breakpoint callback, id = 4
Error while trying to register breakpoint callback, id = 4, message = error: could not get num args: can't find callable: breakpoint_callback

DEBUG: registering breakpoint callback, id = 3
Error while trying to register breakpoint callback, id = 3, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --name function_call
Breakpoint 5: where = a`function_prologue_stepping_regular::function_call + 19 at function-prologue-stepping-regular.rs:149:5, address = 0x0000000000001f03 
breakpoint set --name identifier
DEBUG: breakpoint added, id = 5
DEBUG: breakpoint added, id = 6
Breakpoint 6: where = a`function_prologue_stepping_regular::identifier + 19 at function-prologue-stepping-regular.rs:154:2, address = 0x0000000000001e33 
DEBUG: registering breakpoint callback, id = 6
Error while trying to register breakpoint callback, id = 6, message = error: could not get num args: can't find callable: breakpoint_callback

DEBUG: registering breakpoint callback, id = 5
Error while trying to register breakpoint callback, id = 5, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --name return_expr
Breakpoint 7: where = a`function_prologue_stepping_regular::return_expr + 19 at function-prologue-stepping-regular.rs:158:2, address = 0x0000000000001ee3 
breakpoint set --name arithmetic_expr
DEBUG: breakpoint added, id = 7
Breakpoint 8: where = a`function_prologue_stepping_regular::arithmetic_expr + 23 at function-prologue-stepping-regular.rs:161:5, address = 0x0000000000001f67 
DEBUG: registering breakpoint callback, id = 7
DEBUG: breakpoint added, id = 8
Error while trying to register breakpoint callback, id = 7, message = error: could not get num args: can't find callable: breakpoint_callback

DEBUG: registering breakpoint callback, id = 8
Error while trying to register breakpoint callback, id = 8, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --name if_expr
DEBUG: breakpoint added, id = 9
Breakpoint 9: where = a`function_prologue_stepping_regular::if_expr + 32 at function-prologue-stepping-regular.rs:165:8, address = 0x0000000000002180 
DEBUG: registering breakpoint callback, id = 9
Error while trying to register breakpoint callback, id = 9, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --name while_expr
DEBUG: breakpoint added, id = 10
Breakpoint 10: where = a`function_prologue_stepping_regular::while_expr + 34 at function-prologue-stepping-regular.rs:173:11, address = 0x0000000000001e62 
DEBUG: registering breakpoint callback, id = 10
Error while trying to register breakpoint callback, id = 10, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --name loop_expr
DEBUG: breakpoint added, id = 11
Breakpoint 11: where = a`function_prologue_stepping_regular::loop_expr + 34 at function-prologue-stepping-regular.rs:181:9, address = 0x00000000000021f2 
DEBUG: registering breakpoint callback, id = 11
Error while trying to register breakpoint callback, id = 11, message = error: could not get num args: can't find callable: breakpoint_callback

run
Process 82282 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/function-prologue-stepping-regular.lldb/a' (x86_64) Process 82282 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x0000555555555f44 a`function_prologue_stepping_regular::immediate_args(a=1, b=true, c=2.5) at function-prologue-stepping-regular.rs:123:2 120 121 fn immediate_args(a: isize, b: bool, c: f64) { 122 () -> 123 } ^ 124 125 struct BigStruct { 126 a: u64, 
v a
(long) a = 1 
v b
(bool) b = true 
v c
(double) c = 2.5 
continue
v a
(function_prologue_stepping_regular::BigStruct) a = { a = 3 b = 4 c = 5 d = 6 e = 7 f = 8 g = 9 h = 10 } 
v b
(function_prologue_stepping_regular::BigStruct) b = { a = 11 b = 12 c = 13 d = 14 e = 15 f = 16 g = 17 h = 18 } 
continue
v a
(long) a = 19 
v b
(unsigned long) b = 20 
v c
(double) c = 21.5 
continue
v a
(unsigned long) a = 22 
v b
(unsigned long) b = 23 
v c
(double) c = 24.5 
continue
v x
(unsigned long) x = 25 
v y
(unsigned long) y = 26 
v z
(double) z = 27.5 
continue
v x
(unsigned long) x = 28 
v y
(unsigned long) y = 29 
v z
(double) z = 30.5 
continue
v x
(unsigned long) x = 31 
v y
(unsigned long) y = 32 
v z
(double) z = 33.5 
continue
v x
(unsigned long) x = 34 
v y
(unsigned long) y = 35 
v z
(double) z = 36.5 
continue
v x
(unsigned long) x = 37 
v y
(unsigned long) y = 38 
v z
(double) z = 39.5 
continue
v x
(unsigned long) x = 40 
v y
(unsigned long) y = 41 
v z
(unsigned long) z = 42 
continue
v x
(unsigned long) x = 82 
v y
(unsigned long) y = 41 
v z
(unsigned long) z = 42 
continue
quit
------------------------------------------
stderr: none

---- [debuginfo-lldb] tests/debuginfo/function-prologue-stepping-regular.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/coroutine-objects.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/coroutine-objects.rs` not found in debugger output. errors:
    (coroutine-objects.rs:30) `(coroutine_objects::main::{coroutine_env#0}) b = 0{_ref__a:0x[...]} { _ref__a = 0x[...] }`
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/coroutine-objects.lldb/coroutine-objects.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/coroutine-objects.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/coroutine-objects.lldb/coroutine-objects.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/coroutine-objects.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/coroutine-objects.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'coroutine-objects.rs' --line 78
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`coroutine_objects::main + 27 at coroutine-objects.rs:78:5, address = 0x00000000000021fb 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'coroutine-objects.rs' --line 80
DEBUG: breakpoint added, id = 2
Breakpoint 2: where = a`coroutine_objects::main + 84 at coroutine-objects.rs:80:5, address = 0x0000000000002234 
DEBUG: registering breakpoint callback, id = 2
Error while trying to register breakpoint callback, id = 2, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'coroutine-objects.rs' --line 82
Breakpoint 3: where = a`coroutine_objects::main + 113 at coroutine-objects.rs:82:5, address = 0x0000000000002251 
breakpoint set --file 'coroutine-objects.rs' --line 84
DEBUG: breakpoint added, id = 3
Breakpoint 4: where = a`coroutine_objects::main + 142 at coroutine-objects.rs:84:5, address = 0x000000000000226e 
DEBUG: registering breakpoint callback, id = 3
DEBUG: breakpoint added, id = 4
Error while trying to register breakpoint callback, id = 3, message = error: could not get num args: can't find callable: breakpoint_callback

DEBUG: registering breakpoint callback, id = 4
Error while trying to register breakpoint callback, id = 4, message = error: could not get num args: can't find callable: breakpoint_callback

run
Process 82064 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/coroutine-objects.lldb/a' (x86_64) Process 82064 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x00005555555561fb a`coroutine_objects::main at coroutine-objects.rs:78:5 75 yield; 76 println!("{} {} {}", a, c, d); 77 }; -> 78 _zzz(); // #break ^ 79 Pin::new(&mut b).resume(()); 80 _zzz(); // #break 81 Pin::new(&mut b).resume(()); 
v b
(coroutine_objects::main::{coroutine_env#0}) b = { $variants$ = { $variant$0 = { $discr$ = '\x94' value = { _ref__a = 0x00007fffffffce94 } } $variant$1 = { $discr$ = '\x94' value = { _ref__a = 0x00007fffffffce94 } } $variant$2 = { $discr$ = '\x94' value = { _ref__a = 0x00007fffffffce94 } } $variant$3 = { $discr$ = '\x94' value = { c = 0 d = 0 _ref__a = 0x00007fffffffce94 } } $variant$4 = { $discr$ = '\x94' value = { c = 0 d = 0 _ref__a = 0x00007fffffffce94 } } } } 
quit
------------------------------------------
--- stderr -------------------------------
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
------------------------------------------

---- [debuginfo-lldb] tests/debuginfo/coroutine-objects.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/by-value-non-immediate-argument.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/by-value-non-immediate-argument.rs` not found in debugger output. errors:
    (by-value-non-immediate-argument.rs:43) `[...] Struct { a = 1 b = 2.5 }`
    (by-value-non-immediate-argument.rs:47) `[...] Struct { a = 3 b = 4.5 }`
    (by-value-non-immediate-argument.rs:55) `[...] (7, 8, 9.5, 10.5)`
    (by-value-non-immediate-argument.rs:59) `[...] Newtype(11.5, 12.5, 13, 14)`
    (by-value-non-immediate-argument.rs:63) `[...] Case1 { x: 0, y: 8970181431921507452 }`
the following subset of check directive(s) was found successfully:
    (by-value-non-immediate-argument.rs:49) `DEBUG: breakpoint added, id = 5`
    (by-value-non-immediate-argument.rs:51) `(double) z = 6.5 `
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/by-value-non-immediate-argument.lldb/by-value-non-immediate-argument.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/by-value-non-immediate-argument.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/by-value-non-immediate-argument.lldb/by-value-non-immediate-argument.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/by-value-non-immediate-argument.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/by-value-non-immediate-argument.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'by-value-non-immediate-argument.rs' --line 79
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`by_value_non_immediate_argument::fun + 15 at by-value-non-immediate-argument.rs:79:5, address = 0x0000000000001baf 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'by-value-non-immediate-argument.rs' --line 83
DEBUG: breakpoint added, id = 2
Breakpoint 2: where = a`by_value_non_immediate_argument::fun_fun + 43 at by-value-non-immediate-argument.rs:83:5, address = 0x0000000000001cfb 
DEBUG: registering breakpoint callback, id = 2
Error while trying to register breakpoint callback, id = 2, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'by-value-non-immediate-argument.rs' --line 87
DEBUG: breakpoint added, id = 3
Breakpoint 3: where = a`by_value_non_immediate_argument::tup + 1 at by-value-non-immediate-argument.rs:87:5, address = 0x0000000000001bc1 
DEBUG: registering breakpoint callback, id = 3
Error while trying to register breakpoint callback, id = 3, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'by-value-non-immediate-argument.rs' --line 93
DEBUG: breakpoint added, id = 4
Breakpoint 4: where = a`by_value_non_immediate_argument::new_type + 1 at by-value-non-immediate-argument.rs:93:5, address = 0x0000000000001d11 
DEBUG: registering breakpoint callback, id = 4
Error while trying to register breakpoint callback, id = 4, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'by-value-non-immediate-argument.rs' --line 105
DEBUG: breakpoint added, id = 5
Breakpoint 5: where = a`by_value_non_immediate_argument::by_val_enum + 1 at by-value-non-immediate-argument.rs:105:5, address = 0x0000000000001b91 
DEBUG: registering breakpoint callback, id = 5
Error while trying to register breakpoint callback, id = 5, message = error: could not get num args: can't find callable: breakpoint_callback

run
Process 82035 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/by-value-non-immediate-argument.lldb/a' (x86_64) Process 82035 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x0000555555555baf a`by_value_non_immediate_argument::fun(s=Struct @ 0x00007fffffffce08) at by-value-non-immediate-argument.rs:79:5 76 } 77 78 fn fun(s: Struct) { -> 79 zzz(); // #break ^ 80 } 81 82 fn fun_fun(StructStruct { a: x, b: Struct { a: y, b: z } }: StructStruct) { 
v s
(by_value_non_immediate_argument::Struct) s = { a = 1 b = 2.5 } 
continue
v x
(by_value_non_immediate_argument::Struct) x = { a = 3 b = 4.5 } 
v y
(long) y = 5 
v z
(double) z = 6.5 
continue
v a
((isize, usize, f64, f64)) a = (7, 8, 9.5, 10.5) { 0 = 7 1 = 8 2 = 9.5 3 = 10.5 } 
continue
v a
(by_value_non_immediate_argument::Newtype) a = { 0 = 11.5 1 = 12.5 2 = 13 3 = 14 } 
continue
v x
(by_value_non_immediate_argument::Enum) x = { $variants$ = { $variant$0 = { $discr$ = 0 value = { x = 0 y = 8970181431921507452 } } $variant$1 = { $discr$ = 0 value = { 0 = 8970181431921507452 1 = 0 2 = 0 } } } } 
continue
quit
------------------------------------------
--- stderr -------------------------------
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
------------------------------------------

---- [debuginfo-lldb] tests/debuginfo/by-value-non-immediate-argument.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/enum-thinlto.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/enum-thinlto.rs` not found in debugger output. errors:
    (enum-thinlto.rs:18) `(enum_thinlto::ABC) *abc = TheA{x:0, y:8970181431921507452} { x = 0 y = 8970181431921507452 }`
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/enum-thinlto.lldb/enum-thinlto.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/enum-thinlto.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/enum-thinlto.lldb/enum-thinlto.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/enum-thinlto.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/enum-thinlto.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'enum-thinlto.rs' --line 38
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`enum_thinlto::f + 9 at enum-thinlto.rs:38:5, address = 0x00000000000020a9 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

run
Process 82280 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/enum-thinlto.lldb/a' (x86_64) Process 82280 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x00005555555560a9 a`enum_thinlto::f(abc=0x00007fffffffcee0) at enum-thinlto.rs:38:5 35 } 36 37 fn f(abc: &ABC) { -> 38 zzz(); // #break ^ 39 40 println!("{:?}", abc); 41 } 
v *abc
(enum_thinlto::ABC) *abc = { $variants$ = { $variant$0 = { $discr$ = 0 value = { x = 0 y = 8970181431921507452 } } $variant$1 = { $discr$ = 0 value = { 0 = 8970181431921507452 1 = 0 2 = 0 } } } } 
quit
------------------------------------------
--- stderr -------------------------------
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
------------------------------------------

---- [debuginfo-lldb] tests/debuginfo/enum-thinlto.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/borrowed-enum.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/borrowed-enum.rs` not found in debugger output. errors:
    (borrowed-enum.rs:26) `(borrowed_enum::ABC) *the_a_ref = TheA{x:0, y:8970181431921507452} { x = 0 y = 8970181431921507452 }`
    (borrowed-enum.rs:28) `(borrowed_enum::ABC) *the_b_ref = TheB(0, 286331153, 286331153) { 0 = 0 1 = 286331153 2 = 286331153 }`
    (borrowed-enum.rs:30) `(borrowed_enum::Univariant) *univariant_ref = TheOnlyCase(4820353753753434) { 0 = 4820353753753434 }`
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/borrowed-enum.lldb/borrowed-enum.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/borrowed-enum.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/borrowed-enum.lldb/borrowed-enum.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/borrowed-enum.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/borrowed-enum.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'borrowed-enum.rs' --line 66
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`borrowed_enum::main + 114 at borrowed-enum.rs:66:5, address = 0x0000000000001b32 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

run
Process 82095 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/borrowed-enum.lldb/a' (x86_64) Process 82095 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x0000555555555b32 a`borrowed_enum::main at borrowed-enum.rs:66:5 63 let univariant = Univariant::TheOnlyCase(4820353753753434); 64 let univariant_ref: &Univariant = &univariant; 65 -> 66 zzz(); // #break ^ 67 } 68 69 fn zzz() {()} 
v *the_a_ref
(borrowed_enum::ABC) *the_a_ref = { $variants$ = { $variant$0 = { $discr$ = 0 value = { x = 0 y = 8970181431921507452 } } $variant$1 = { $discr$ = 0 value = { 0 = 8970181431921507452 1 = 0 2 = 0 } } } } 
v *the_b_ref
(borrowed_enum::ABC) *the_b_ref = { $variants$ = { $variant$0 = { $discr$ = 1 value = { x = 140733479719185 y = 0 } } $variant$1 = { $discr$ = 1 value = { 0 = 0 1 = 286331153 2 = 286331153 } } } } 
v *univariant_ref
(borrowed_enum::Univariant) *univariant_ref = { $variants$ = { $variant$ = { value = { 0 = 4820353753753434 } } } } 
quit
------------------------------------------
--- stderr -------------------------------
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
------------------------------------------

---- [debuginfo-lldb] tests/debuginfo/borrowed-enum.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/struct-style-enum.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/struct-style-enum.rs` not found in debugger output. errors:
    (struct-style-enum.rs:29) `(struct_style_enum::Regular) case1 = Case1{a:0, b:31868, c:31868, d:31868, e:31868} { a = 0 b = 31868 c = 31868 d = 31868 e = 31868 }`
    (struct-style-enum.rs:32) `(struct_style_enum::Regular) case2 = Case2{a:0, b:286331153, c:286331153} { a = 0 b = 286331153 c = 286331153 }`
    (struct-style-enum.rs:35) `(struct_style_enum::Regular) case3 = Case3{a:0, b:6438275382588823897} { a = 0 b = 6438275382588823897 }`
    (struct-style-enum.rs:38) `(struct_style_enum::Univariant) univariant = TheOnlyCase{a:-1} { a = -1 }`
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/struct-style-enum.lldb/struct-style-enum.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/struct-style-enum.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/struct-style-enum.lldb/struct-style-enum.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/struct-style-enum.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/struct-style-enum.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'struct-style-enum.rs' --line 84
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`struct_style_enum::main + 120 at struct-style-enum.rs:84:5, address = 0x0000000000001b38 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

run
Process 82099 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/struct-style-enum.lldb/a' (x86_64) Process 82099 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x0000555555555b38 a`struct_style_enum::main at struct-style-enum.rs:84:5 81 82 let univariant = TheOnlyCase { a: -1 }; 83 -> 84 zzz(); // #break ^ 85 } 86 87 fn zzz() {()} 
v case1
(struct_style_enum::Regular) case1 = { $variants$ = { $variant$0 = { $discr$ = 0 value = { a = 0 b = 31868 c = 31868 d = 31868 e = 31868 } } $variant$1 = { $discr$ = 0 value = { a = 0 b = 2088533116 c = 31868 } } $variant$2 = { $discr$ = 0 value = { a = 31868 b = 0 } } } } 
v case2
(struct_style_enum::Regular) case2 = { $variants$ = { $variant$0 = { $discr$ = 1 value = { a = 0 b = 0 c = 4369 d = 4369 e = 4369 } } $variant$1 = { $discr$ = 1 value = { a = 0 b = 286331153 c = 286331153 } } $variant$2 = { $discr$ = 1 value = { a = 140733479719185 b = 0 } } } } 
v case3
(struct_style_enum::Regular) case3 = { $variants$ = { $variant$0 = { $discr$ = 2 value = { a = 6438275382588823897 b = 65535 c = 0 d = 0 e = 0 } } $variant$1 = { $discr$ = 2 value = { a = 6438275382588823897 b = 0 c = 0 } } $variant$2 = { $discr$ = 2 value = { a = 0 b = 6438275382588823897 } } } } 
v univariant
(struct_style_enum::Univariant) univariant = { $variants$ = { $variant$ = { value = { a = -1 } } } } 
quit
------------------------------------------
--- stderr -------------------------------
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
------------------------------------------

---- [debuginfo-lldb] tests/debuginfo/struct-style-enum.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/function-arg-initialization.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/function-arg-initialization.rs` not found in debugger output. errors:
    (function-arg-initialization.rs:131) `[...] BigStruct { a: 3, b: 4, c: 5, d: 6, e: 7, f: 8, g: 9, h: 10 }`
    (function-arg-initialization.rs:133) `[...] BigStruct { a: 11, b: 12, c: 13, d: 14, e: 15, f: 16, g: 17, h: 18 }`
the following subset of check directive(s) was found successfully:
    (function-arg-initialization.rs:122) `DEBUG: breakpoint added, id = 1`
    (function-arg-initialization.rs:124) `(bool) b = true `
    (function-arg-initialization.rs:126) `(double) c = 2.5 `
    (function-arg-initialization.rs:138) `(long) a = 19 `
    (function-arg-initialization.rs:140) `(unsigned long) b = 20 `
    (function-arg-initialization.rs:142) `(double) c = 21.5 `
    (function-arg-initialization.rs:147) `(unsigned long) a = 22 `
    (function-arg-initialization.rs:149) `(unsigned long) b = 23 `
    (function-arg-initialization.rs:151) `(double) c = 24.5 `
    (function-arg-initialization.rs:156) `(unsigned long) x = 25 `
    (function-arg-initialization.rs:158) `(unsigned long) y = 26 `
    (function-arg-initialization.rs:160) `(double) z = 27.5 `
    (function-arg-initialization.rs:165) `(unsigned long) x = 28 `
    (function-arg-initialization.rs:167) `(unsigned long) y = 29 `
    (function-arg-initialization.rs:169) `(double) z = 30.5 `
    (function-arg-initialization.rs:174) `(unsigned long) x = 31 `
    (function-arg-initialization.rs:176) `(unsigned long) y = 32 `
    (function-arg-initialization.rs:178) `(double) z = 33.5 `
    (function-arg-initialization.rs:183) `(unsigned long) x = 34 `
    (function-arg-initialization.rs:185) `(unsigned long) y = 35 `
    (function-arg-initialization.rs:187) `(double) z = 36.5 `
    (function-arg-initialization.rs:192) `(unsigned long) x = 37 `
    (function-arg-initialization.rs:194) `(unsigned long) y = 38 `
    (function-arg-initialization.rs:196) `(double) z = 39.5 `
    (function-arg-initialization.rs:201) `(unsigned long) x = 40 `
    (function-arg-initialization.rs:203) `(unsigned long) y = 41 `
    (function-arg-initialization.rs:205) `(unsigned long) z = 42 `
    (function-arg-initialization.rs:210) `(unsigned long) x = 43 `
    (function-arg-initialization.rs:212) `(unsigned long) y = 44 `
    (function-arg-initialization.rs:214) `(unsigned long) z = 45 `
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/function-arg-initialization.lldb/function-arg-initialization.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/function-arg-initialization.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/function-arg-initialization.lldb/function-arg-initialization.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/function-arg-initialization.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/function-arg-initialization.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'function-arg-initialization.rs' --line 221
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`function_arg_initialization::immediate_args + 23 at function-arg-initialization.rs:221:5, address = 0x0000000000002007 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'function-arg-initialization.rs' --line 236
DEBUG: breakpoint added, id = 2
Breakpoint 2: where = a`function_arg_initialization::non_immediate_args + 17 at function-arg-initialization.rs:236:5, address = 0x0000000000002071 
DEBUG: registering breakpoint callback, id = 2
Error while trying to register breakpoint callback, id = 2, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'function-arg-initialization.rs' --line 243
DEBUG: breakpoint added, id = 3
Breakpoint 3: where = a`function_arg_initialization::binding + 20 at function-arg-initialization.rs:243:13, address = 0x0000000000002294 
DEBUG: registering breakpoint callback, id = 3
Error while trying to register breakpoint callback, id = 3, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'function-arg-initialization.rs' --line 248
DEBUG: breakpoint added, id = 4
Breakpoint 4: where = a`function_arg_initialization::assignment + 19 at function-arg-initialization.rs:248:5, address = 0x0000000000001ed3 
DEBUG: registering breakpoint callback, id = 4
Error while trying to register breakpoint callback, id = 4, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'function-arg-initialization.rs' --line 253
DEBUG: breakpoint added, id = 5
Breakpoint 5: where = a`function_arg_initialization::function_call + 19 at function-arg-initialization.rs:253:5, address = 0x0000000000001fe3 
breakpoint set --file 'function-arg-initialization.rs' --line 257
DEBUG: breakpoint added, id = 6
Breakpoint 6: where = a`function_arg_initialization::identifier + 19 at function-arg-initialization.rs:258:2, address = 0x0000000000001f13 
DEBUG: registering breakpoint callback, id = 6
Error while trying to register breakpoint callback, id = 6, message = error: could not get num args: can't find callable: breakpoint_callback

DEBUG: registering breakpoint callback, id = 5
Error while trying to register breakpoint callback, id = 5, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'function-arg-initialization.rs' --line 261
DEBUG: breakpoint added, id = 7
Breakpoint 7: where = a`function_arg_initialization::return_expr + 19 at function-arg-initialization.rs:262:2, address = 0x0000000000001fc3 
DEBUG: registering breakpoint callback, id = 7
Error while trying to register breakpoint callback, id = 7, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'function-arg-initialization.rs' --line 265
DEBUG: breakpoint added, id = 8
Breakpoint 8: where = a`function_arg_initialization::arithmetic_expr + 23 at function-arg-initialization.rs:265:5, address = 0x0000000000002037 
DEBUG: registering breakpoint callback, id = 8
Error while trying to register breakpoint callback, id = 8, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'function-arg-initialization.rs' --line 269
DEBUG: breakpoint added, id = 9
Breakpoint 9: where = a`function_arg_initialization::if_expr + 32 at function-arg-initialization.rs:269:8, address = 0x00000000000022e0 
DEBUG: registering breakpoint callback, id = 9
Error while trying to register breakpoint callback, id = 9, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'function-arg-initialization.rs' --line 277
DEBUG: breakpoint added, id = 10
Breakpoint 10: where = a`function_arg_initialization::while_expr + 34 at function-arg-initialization.rs:277:11, address = 0x0000000000001f42 
DEBUG: registering breakpoint callback, id = 10
Error while trying to register breakpoint callback, id = 10, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'function-arg-initialization.rs' --line 285
DEBUG: breakpoint added, id = 11
Breakpoint 11: where = a`function_arg_initialization::loop_expr + 34 at function-arg-initialization.rs:285:9, address = 0x0000000000002352 
DEBUG: registering breakpoint callback, id = 11
Error while trying to register breakpoint callback, id = 11, message = error: could not get num args: can't find callable: breakpoint_callback

run
Process 82350 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/function-arg-initialization.lldb/a' (x86_64) Process 82350 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x0000555555556007 a`function_arg_initialization::immediate_args(a=1, b=true, c=2.5) at function-arg-initialization.rs:221:5 218 #![allow(unused_variables)] 219 220 fn immediate_args(a: isize, b: bool, c: f64) { -> 221 zzz(); // #break ^ 222 } 223 224 struct BigStruct { 
v a
(long) a = 1 
v b
(bool) b = true 
v c
(double) c = 2.5 
continue
v a
(function_arg_initialization::BigStruct) a = { a = 3 b = 4 c = 5 d = 6 e = 7 f = 8 g = 9 h = 10 } 
v b
(function_arg_initialization::BigStruct) b = { a = 11 b = 12 c = 13 d = 14 e = 15 f = 16 g = 17 h = 18 } 
continue
v a
(long) a = 19 
v b
(unsigned long) b = 20 
v c
(double) c = 21.5 
continue
v a
(unsigned long) a = 22 
v b
(unsigned long) b = 23 
v c
(double) c = 24.5 
continue
v x
(unsigned long) x = 25 
v y
(unsigned long) y = 26 
v z
(double) z = 27.5 
continue
v x
(unsigned long) x = 28 
v y
(unsigned long) y = 29 
v z
(double) z = 30.5 
continue
v x
(unsigned long) x = 31 
v y
(unsigned long) y = 32 
v z
(double) z = 33.5 
continue
v x
(unsigned long) x = 34 
v y
(unsigned long) y = 35 
v z
(double) z = 36.5 
continue
v x
(unsigned long) x = 37 
v y
(unsigned long) y = 38 
v z
(double) z = 39.5 
continue
v x
(unsigned long) x = 40 
v y
(unsigned long) y = 41 
v z
(unsigned long) z = 42 
continue
v x
(unsigned long) x = 43 
v y
(unsigned long) y = 44 
v z
(unsigned long) z = 45 
continue
quit
------------------------------------------
stderr: none

---- [debuginfo-lldb] tests/debuginfo/function-arg-initialization.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/tuple-style-enum.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/tuple-style-enum.rs` not found in debugger output. errors:
    (tuple-style-enum.rs:30) `(tuple_style_enum::Regular) case1 = Case1(0, 31868, 31868, 31868, 31868) { 0 = 0 1 = 31868 2 = 31868 3 = 31868 4 = 31868 }`
    (tuple-style-enum.rs:33) `(tuple_style_enum::Regular) case2 = Case2(0, 286331153, 286331153) { 0 = 0 1 = 286331153 2 = 286331153 }`
    (tuple-style-enum.rs:36) `(tuple_style_enum::Regular) case3 = Case3(0, 6438275382588823897) { 0 = 0 1 = 6438275382588823897 }`
    (tuple-style-enum.rs:39) `(tuple_style_enum::Univariant) univariant = TheOnlyCase(-1) { 0 = -1 }`
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/tuple-style-enum.lldb/tuple-style-enum.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/tuple-style-enum.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/tuple-style-enum.lldb/tuple-style-enum.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/tuple-style-enum.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/tuple-style-enum.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'tuple-style-enum.rs' --line 85
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`tuple_style_enum::main + 120 at tuple-style-enum.rs:85:5, address = 0x0000000000001b38 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

run
Process 82088 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/tuple-style-enum.lldb/a' (x86_64) Process 82088 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x0000555555555b38 a`tuple_style_enum::main at tuple-style-enum.rs:85:5 82 83 let univariant = TheOnlyCase(-1); 84 -> 85 zzz(); // #break ^ 86 } 87 88 fn zzz() {()} 
v case1
(tuple_style_enum::Regular) case1 = { $variants$ = { $variant$0 = { $discr$ = 0 value = { 0 = 0 1 = 31868 2 = 31868 3 = 31868 4 = 31868 } } $variant$1 = { $discr$ = 0 value = { 0 = 0 1 = 2088533116 2 = 31868 } } $variant$2 = { $discr$ = 0 value = { 0 = 31868 1 = 0 } } } } 
v case2
(tuple_style_enum::Regular) case2 = { $variants$ = { $variant$0 = { $discr$ = 1 value = { 0 = 0 1 = 0 2 = 4369 3 = 4369 4 = 4369 } } $variant$1 = { $discr$ = 1 value = { 0 = 0 1 = 286331153 2 = 286331153 } } $variant$2 = { $discr$ = 1 value = { 0 = 140733479719185 1 = 0 } } } } 
v case3
(tuple_style_enum::Regular) case3 = { $variants$ = { $variant$0 = { $discr$ = 2 value = { 0 = 6438275382588823897 1 = 65535 2 = 0 3 = 0 4 = 0 } } $variant$1 = { $discr$ = 2 value = { 0 = 6438275382588823897 1 = 0 2 = 0 } } $variant$2 = { $discr$ = 2 value = { 0 = 0 1 = 6438275382588823897 } } } } 
v univariant
(tuple_style_enum::Univariant) univariant = { $variants$ = { $variant$ = { value = { 0 = -1 } } } } 
quit
------------------------------------------
--- stderr -------------------------------
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
------------------------------------------

---- [debuginfo-lldb] tests/debuginfo/tuple-style-enum.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/macro-stepping.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/macro-stepping.rs` not found in debugger output. errors:
    (macro-stepping.rs:81) `[...] #inc-loc1 [...]`
the following subset of check directive(s) was found successfully:
    (macro-stepping.rs:58) `frame #0: 0x0000555555556a09 a`macro_stepping::main at macro-stepping.rs:110:5 -> 110 foo!(); // #loc1 ^ 111 `
    (macro-stepping.rs:61) `frame #0: 0x0000555555556a3f a`macro_stepping::main at macro-stepping.rs:112:5 -> 112 foo2!(); // #loc2 ^ 113 `
    (macro-stepping.rs:64) `frame #0: 0x0000555555556abd a`macro_stepping::main at macro-stepping.rs:114:13 -> 114 let x = vec![42]; // #loc3 ^ 115 `
    (macro-stepping.rs:67) `frame #0: 0x0000555555556b20 a`macro_stepping::main at macro-stepping.rs:116:5 -> 116 new_scope!(); // #loc4 ^ 117 `
    (macro-stepping.rs:70) `frame #0: 0x0000555555556b5d a`macro_stepping::main at macro-stepping.rs:118:5 -> 118 println!("Hello {}", // #loc5 ^ 119 "world"); `
    (macro-stepping.rs:75) `frame #0: 0x0000555555556bd4 a`macro_stepping::included at macro-stepping.inc:2:5 -> 2 foo!(); // #inc-loc1 ^ 3 `
    (macro-stepping.rs:78) `frame #0: 0x0000555555556c09 a`macro_stepping::included at macro-stepping.inc:4:5 -> 4 foo2!(); // #inc-loc2 ^ 5 `
    (macro-stepping.rs:84) `frame #0: 0x0000555555556c09 a`macro_stepping::included at macro-stepping.inc:4:5 -> 4 foo2!(); // #inc-loc2 ^ 5 `
    (macro-stepping.rs:87) `frame #0: 0x0000555555556c87 a`macro_stepping::included at macro-stepping.inc:6:5 -> 6 zzz(); // #inc-loc3 ^ 7 } `
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/macro-stepping.lldb/macro-stepping.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/macro-stepping.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/macro-stepping.lldb/macro-stepping.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/macro-stepping.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/macro-stepping.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'macro-stepping.rs' --line 108
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`macro_stepping::main + 4 at macro-stepping.rs:108:5, address = 0x0000000000002a04 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'macro-stepping.rs' --line 123
Breakpoint 2: where = a`macro_stepping::main + 406 at macro-stepping.rs:123:5, address = 0x0000000000002b96 
set set stop-line-count-before 0
DEBUG: breakpoint added, id = 2

DEBUG: registering breakpoint callback, id = 2
Error while trying to register breakpoint callback, id = 2, message = error: could not get num args: can't find callable: breakpoint_callback

set set stop-line-count-after 1

run
Process 82544 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/macro-stepping.lldb/a' (x86_64) Process 82544 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x0000555555556a04 a`macro_stepping::main at macro-stepping.rs:108:5 -> 108 zzz(); // #break ^ 109 
next
frame select
frame #0: 0x0000555555556a09 a`macro_stepping::main at macro-stepping.rs:110:5 -> 110 foo!(); // #loc1 ^ 111 
next
frame select
frame #0: 0x0000555555556a3f a`macro_stepping::main at macro-stepping.rs:112:5 -> 112 foo2!(); // #loc2 ^ 113 
next
frame select
frame #0: 0x0000555555556abd a`macro_stepping::main at macro-stepping.rs:114:13 -> 114 let x = vec![42]; // #loc3 ^ 115 
next
frame select
frame #0: 0x0000555555556b20 a`macro_stepping::main at macro-stepping.rs:116:5 -> 116 new_scope!(); // #loc4 ^ 117 
next
frame select
frame #0: 0x0000555555556b5d a`macro_stepping::main at macro-stepping.rs:118:5 -> 118 println!("Hello {}", // #loc5 ^ 119 "world"); 
continue
step
frame select
frame #0: 0x0000555555556bd4 a`macro_stepping::included at macro-stepping.inc:2:5 -> 2 foo!(); // #inc-loc1 ^ 3 
next
frame select
frame #0: 0x0000555555556c09 a`macro_stepping::included at macro-stepping.inc:4:5 -> 4 foo2!(); // #inc-loc2 ^ 5 
next
frame select
frame #0: 0x0000555555556c87 a`macro_stepping::included at macro-stepping.inc:6:5 -> 6 zzz(); // #inc-loc3 ^ 7 } 
next
frame select
frame #0: 0x0000555555556c8c a`macro_stepping::included at macro-stepping.inc:7:2 -> 7 } ^ 
next
frame select
frame #0: 0x0000555555556b9b a`macro_stepping::main at macro-stepping.rs:123:5 -> 123 included(); // #break ^ 124 } 
quit
------------------------------------------
stderr: none

---- [debuginfo-lldb] tests/debuginfo/macro-stepping.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/issue-57822.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/issue-57822.rs` not found in debugger output. errors:
    (issue-57822.rs:27) `(issue_57822::main::{coroutine_env#3}) b = 2{a:2{y:2}} { a = 2{y:2} { y = 2 } }`
the following subset of check directive(s) was found successfully:
    (issue-57822.rs:24) `(issue_57822::main::{closure_env#1}) g = { f = { x = 1 } } `
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/issue-57822.lldb/issue-57822.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/issue-57822.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/issue-57822.lldb/issue-57822.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/issue-57822.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/issue-57822.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'issue-57822.rs' --line 51
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`issue_57822::main + 62 at issue-57822.rs:51:5, address = 0x0000000000001c6e 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

run
Process 82278 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/issue-57822.lldb/a' (x86_64) Process 82278 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x0000555555555c6e a`issue_57822::main at issue-57822.rs:51:5 48 yield; 49 }; 50 -> 51 zzz(); // #break ^ 52 } 53 54 fn zzz() { 
v g
(issue_57822::main::{closure_env#1}) g = { f = { x = 1 } } 
v b
(issue_57822::main::{coroutine_env#3}) b = { $variants$ = { $variant$0 = { $discr$ = '\x02' value = { a = { $variants$ = { $variant$0 = { $discr$ = '\x02' value = { y = 2 } } $variant$1 = { $discr$ = '\x02' value = { y = 2 } } $variant$2 = { $discr$ = '\x02' value = { y = 2 } } $variant$3 = { $discr$ = '\x02' value = { y = 2 } } } } } } $variant$1 = { $discr$ = '\x02' value = { a = { $variants$ = { $variant$0 = { $discr$ = '\x02' value = { y = 2 } } $variant$1 = { $discr$ = '\x02' value = { y = 2 } } $variant$2 = { $discr$ = '\x02' value = { y = 2 } } $variant$3 = { $discr$ = '\x02' value = { y = 2 } } } } } } $variant$2 = { $discr$ = '\x02' value = { a = { $variants$ = { $variant$0 = { $discr$ = '\x02' value = { y = 2 } } $variant$1 = { $discr$ = '\x02' value = { y = 2 } } $variant$2 = { $discr$ = '\x02' value = { y = 2 } } $variant$3 = { $discr$ = '\x02' value = { y = 2 } } } } } } $variant$3 = { $discr$ = '\x02' value = { a = { $variants$ = { $variant$0 = { $discr$ = '\x02' value = { y = 2 } } $variant$1 = { $discr$ = '\x02' value = { y = 2 } } $variant$2 = { $discr$ = '\x02' value = { y = 2 } } $variant$3 = { $discr$ = '\x02' value = { y = 2 } } } } } } } } 
quit
------------------------------------------
--- stderr -------------------------------
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
------------------------------------------

---- [debuginfo-lldb] tests/debuginfo/issue-57822.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/pretty-std.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/pretty-std.rs` not found in debugger output. errors:
    (pretty-std.rs:59) `[...] some = Some(8)`
    (pretty-std.rs:62) `[...] none = None`
the following subset of check directive(s) was found successfully:
    (pretty-std.rs:46) `(&[i32]) slice = size=4 { [0] = 0 [1] = 1 [2] = 2 [3] = 3 } `
    (pretty-std.rs:49) `(alloc::vec::Vec<unsigned long, alloc::alloc::Global>) vec = size=4 { [0] = 4 [1] = 5 [2] = 6 [3] = 7 } `
    (pretty-std.rs:52) `(&str) str_slice = "IAMA string slice!" { [0] = 'I' [1] = 'A' [2] = 'M' [3] = 'A' [4] = ' ' [5] = 's' [6] = 't' [7] = 'r' [8] = 'i' [9] = 'n' [10] = 'g' [11] = ' ' [12] = 's' [13] = 'l' [14] = 'i' [15] = 'c' [16] = 'e' [17] = '!' } `
    (pretty-std.rs:55) `(alloc::string::String) string = "IAMA string!" { [0] = 'I' [1] = 'A' [2] = 'M' [3] = 'A' [4] = ' ' [5] = 's' [6] = 't' [7] = 'r' [8] = 'i' [9] = 'n' [10] = 'g' [11] = '!' } `
    (pretty-std.rs:65) `(std::ffi::os_str::OsString) os_string = "IAMA OS string 😃" { inner = { inner = size=19 { [0] = 'I' [1] = 'A' [2] = 'M' [3] = 'A' [4] = ' ' [5] = 'O' [6] = 'S' [7] = ' ' [8] = 's' [9] = 't' [10] = 'r' [11] = 'i' [12] = 'n' [13] = 'g' [14] = ' ' [15] = '\xf0' [16] = '\x9f' [17] = '\x98' [18] = '\x83' } } } `
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/pretty-std.lldb/pretty-std.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/pretty-std.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/pretty-std.lldb/pretty-std.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/pretty-std.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/pretty-std.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'pretty-std.rs' --line 182
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`pretty_std::main + 651 at pretty-std.rs:182:5, address = 0x0000000000004c5b 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

run
Process 82459 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/pretty-std.lldb/a' (x86_64) Process 82459 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x0000555555558c5b a`pretty_std::main at pretty-std.rs:182:5 179 vecdeque.push_back(20); 180 vecdeque.push_front(90); 181 -> 182 zzz(); // #break ^ 183 } 184 185 fn zzz() { 
v slice
(&[i32]) slice = size=4 { [0] = 0 [1] = 1 [2] = 2 [3] = 3 } 
v vec
(alloc::vec::Vec<unsigned long, alloc::alloc::Global>) vec = size=4 { [0] = 4 [1] = 5 [2] = 6 [3] = 7 } 
v str_slice
(&str) str_slice = "IAMA string slice!" { [0] = 'I' [1] = 'A' [2] = 'M' [3] = 'A' [4] = ' ' [5] = 's' [6] = 't' [7] = 'r' [8] = 'i' [9] = 'n' [10] = 'g' [11] = ' ' [12] = 's' [13] = 'l' [14] = 'i' [15] = 'c' [16] = 'e' [17] = '!' } 
v string
(alloc::string::String) string = "IAMA string!" { [0] = 'I' [1] = 'A' [2] = 'M' [3] = 'A' [4] = ' ' [5] = 's' [6] = 't' [7] = 'r' [8] = 'i' [9] = 'n' [10] = 'g' [11] = '!' } 
v some
(core::option::Option<i16>) some = { $variants$ = { $variant$0 = { $discr$ = 1 value = } $variant$1 = { $discr$ = 1 value = { 0 = 8 } } } } 
v none
(core::option::Option<i64>) none = { $variants$ = { $variant$0 = { $discr$ = 0 value = } $variant$1 = { $discr$ = 0 value = { 0 = 140737488342864 } } } } 
v os_string
(std::ffi::os_str::OsString) os_string = "IAMA OS string 😃" { inner = { inner = size=19 { [0] = 'I' [1] = 'A' [2] = 'M' [3] = 'A' [4] = ' ' [5] = 'O' [6] = 'S' [7] = ' ' [8] = 's' [9] = 't' [10] = 'r' [11] = 'i' [12] = 'n' [13] = 'g' [14] = ' ' [15] = '\xf0' [16] = '\x9f' [17] = '\x98' [18] = '\x83' } } } 
quit
------------------------------------------
--- stderr -------------------------------
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
------------------------------------------

---- [debuginfo-lldb] tests/debuginfo/pretty-std.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/method-on-enum.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/method-on-enum.rs` not found in debugger output. errors:
    (method-on-enum.rs:65) `[...] Variant2(117901063)`
    (method-on-enum.rs:74) `[...] Variant2(117901063)`
    (method-on-enum.rs:83) `[...] Variant1 { x: 1799, y: 1799 }`
    (method-on-enum.rs:92) `[...] Variant1 { x: 1799, y: 1799 }`
    (method-on-enum.rs:101) `[...] Variant1 { x: 1799, y: 1799 }`
the following subset of check directive(s) was found successfully:
    (method-on-enum.rs:67) `(long) arg1 = -1 `
    (method-on-enum.rs:69) `(long) arg2 = -2 `
    (method-on-enum.rs:76) `(long) arg1 = -3 `
    (method-on-enum.rs:78) `(long) arg2 = -4 `
    (method-on-enum.rs:85) `(long) arg1 = -5 `
    (method-on-enum.rs:87) `(long) arg2 = -6 `
    (method-on-enum.rs:94) `(long) arg1 = -7 `
    (method-on-enum.rs:96) `(long) arg2 = -8 `
    (method-on-enum.rs:103) `(long) arg1 = -9 `
    (method-on-enum.rs:105) `(long) arg2 = -10 `
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/method-on-enum.lldb/method-on-enum.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/method-on-enum.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/method-on-enum.lldb/method-on-enum.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/method-on-enum.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/method-on-enum.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'method-on-enum.rs' --line 117
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`<method_on_enum::Enum>::self_by_ref + 29 at method-on-enum.rs:117:9, address = 0x000000000000286d 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'method-on-enum.rs' --line 122
DEBUG: breakpoint added, id = 2
Breakpoint 2: where = a`<method_on_enum::Enum>::self_by_val + 38 at method-on-enum.rs:122:9, address = 0x00000000000028c6 
DEBUG: registering breakpoint callback, id = 2
Error while trying to register breakpoint callback, id = 2, message = error: could not get num args: can't find callable: breakpoint_callback

breakpoint set --file 'method-on-enum.rs' --line 127
DEBUG: breakpoint added, id = 3
Breakpoint 3: where = a`<method_on_enum::Enum>::self_owned + 29 at method-on-enum.rs:127:9, address = 0x00000000000027dd 
DEBUG: registering breakpoint callback, id = 3
Error while trying to register breakpoint callback, id = 3, message = error: could not get num args: can't find callable: breakpoint_callback

run
Process 82452 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/method-on-enum.lldb/a' (x86_64) Process 82452 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x000055555555686d a`<method_on_enum::Enum>::self_by_ref(self=0x00007fffffffce70, arg1=-1, arg2=-2) at method-on-enum.rs:117:9 114 impl Enum { 115 116 fn self_by_ref(&self, arg1: isize, arg2: isize) -> isize { -> 117 zzz(); // #break ^ 118 arg1 + arg2 119 } 120 
v *self
(method_on_enum::Enum) *self = { $variants$ = { $variant$0 = { $discr$ = 1 value = { x = 65407 y = 1799 } } $variant$1 = { $discr$ = 1 value = { 0 = 117901063 } } } } 
v arg1
(long) arg1 = -1 
v arg2
(long) arg2 = -2 
continue
v self
(method_on_enum::Enum) self = { $variants$ = { $variant$0 = { $discr$ = 1 value = { x = 65407 y = 1799 } } $variant$1 = { $discr$ = 1 value = { 0 = 117901063 } } } } 
v arg1
(long) arg1 = -3 
v arg2
(long) arg2 = -4 
continue
v *self
(method_on_enum::Enum) *self = { $variants$ = { $variant$0 = { $discr$ = 0 value = { x = 1799 y = 1799 } } $variant$1 = { $discr$ = 0 value = { 0 = 1799 } } } } 
v arg1
(long) arg1 = -5 
v arg2
(long) arg2 = -6 
continue
v self
(method_on_enum::Enum) self = { $variants$ = { $variant$0 = { $discr$ = 0 value = { x = 1799 y = 1799 } } $variant$1 = { $discr$ = 0 value = { 0 = 1799 } } } } 
v arg1
(long) arg1 = -7 
v arg2
(long) arg2 = -8 
continue
v *self
(method_on_enum::Enum) *self = { $variants$ = { $variant$0 = { $discr$ = 0 value = { x = 1799 y = 1799 } } $variant$1 = { $discr$ = 0 value = { 0 = 1799 } } } } 
v arg1
(long) arg1 = -9 
v arg2
(long) arg2 = -10 
continue
quit
------------------------------------------
--- stderr -------------------------------
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
------------------------------------------

---- [debuginfo-lldb] tests/debuginfo/method-on-enum.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/option-like-enum.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/option-like-enum.rs` not found in debugger output. errors:
    (option-like-enum.rs:43) `[...] Some(0x[...]) { 0 = 0x[...] }`
    (option-like-enum.rs:46) `[...] None`
    (option-like-enum.rs:49) `[...] Full(454545, 0x[...], 9988) { 0 = 454545 1 = 0x[...] 2 = 9988 }`
    (option-like-enum.rs:52) `[...] Empty`
    (option-like-enum.rs:55) `[...] Droid{id:675675, range:10000001, internals:0x[...]} { id = 675675 range = 10000001 internals = 0x[...] }`
    (option-like-enum.rs:58) `[...] Void`
    (option-like-enum.rs:61) `[...] Some("abc") [...]`
    (option-like-enum.rs:64) `[...] None`
    (option-like-enum.rs:67) `[...] Yep(10.5, {a:10, b:20, c:[...]}) { 0 = 10.5 1 = { a = 10 b = 20 c = [...] } }`
    (option-like-enum.rs:70) `[...] Nope`
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/option-like-enum.lldb/option-like-enum.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/option-like-enum.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/option-like-enum.lldb/option-like-enum.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/option-like-enum.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/option-like-enum.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'option-like-enum.rs' --line 138
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`option_like_enum::main + 240 at option-like-enum.rs:138:5, address = 0x0000000000001bd0 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

run
Process 82004 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/option-like-enum.lldb/a' (x86_64) Process 82004 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x0000555555555bd0 a`option_like_enum::main at option-like-enum.rs:138:5 135 }); 136 let nested_non_zero_nope = NestedNonZero::Nope; 137 -> 138 zzz(); // #break ^ 139 } 140 141 fn zzz() {()} 
v some
(core::option::Option<&u32>) some = { $variants$ = { $variant$0 = { $discr$ = 93824992233292 value = } $variant$ = { value = { 0 = 0x000055555555474c } } } } 
v none
(core::option::Option<&u32>) none = { $variants$ = { $variant$0 = { $discr$ = 0 value = } $variant$ = { value = { 0 = 0x0000000000000000 } } } } 
v full
(option_like_enum::MoreFields) full = { $variants$ = { $variant$0 = { $discr$ = 0 value = { 0 = 454545 1 = 0x0000555555554738 2 = 9988 } } $variant$1 = { $discr$ = 0 value = } } } 
v empty
(option_like_enum::MoreFields) empty = { $variants$ = { $variant$0 = { $discr$ = 1 value = { 0 = 0 1 = 0x00007ffff7fbc3c8 2 = 0 } } $variant$1 = { $discr$ = 1 value = } } } 
v droid
(option_like_enum::NamedFields) droid = { $variants$ = { $variant$0 = { $discr$ = 0 value = { id = 675675 range = 10000001 internals = 0x0000555555554738 } } $variant$1 = { $discr$ = 0 value = } } } 
v void_droid
(option_like_enum::NamedFields) void_droid = { $variants$ = { $variant$0 = { $discr$ = 1 value = { id = 0 range = 4096 internals = 0x00007fffff7fe000 } } $variant$1 = { $discr$ = 1 value = } } } 
v some_str
(core::option::Option<&str>) some_str = { $variants$ = { $variant$0 = { $discr$ = 93824992233288 value = } $variant$ = { value = { 0 = "abc" { [0] = 'a' [1] = 'b' [2] = 'c' } } } } } 
v none_str
(core::option::Option<&str>) none_str = { $variants$ = { $variant$0 = { $discr$ = 0 value = } $variant$ = { value = { 0 = { [0] = <parent is NULL> [1] = <read memory from 0x1 failed (0 of 1 bytes read)> [2] = <read memory from 0x2 failed (0 of 1 bytes read)> [3] = <read memory from 0x3 failed (0 of 1 bytes read)> [4] = <read memory from 0x4 failed (0 of 1 bytes read)> [5] = <read memory from 0x5 failed (0 of 1 bytes read)> [6] = <read memory from 0x6 failed (0 of 1 bytes read)> [7] = <read memory from 0x7 failed (0 of 1 bytes read)> [8] = <read memory from 0x8 failed (0 of 1 bytes read)> [9] = <read memory from 0x9 failed (0 of 1 bytes read)> [10] = <read memory from 0xa failed (0 of 1 bytes read)> [11] = <read memory from 0xb failed (0 of 1 bytes read)> [12] = <read memory from 0xc failed (0 of 1 bytes read)> [13] = <read memory from 0xd failed (0 of 1 bytes read)> [14] = <read memory from 0xe failed (0 of 1 bytes read)> [15] = <read memory from 0xf failed (0 of 1 bytes read)> [16] = <read memory from 0x10 failed (0 of 1 bytes read)> [17] = <read memory from 0x11 failed (0 of 1 bytes read)> [18] = <read memory from 0x12 failed (0 of 1 bytes read)> [19] = <read memory from 0x13 failed (0 of 1 bytes read)> [20] = <read memory from 0x14 failed (0 of 1 bytes read)> [21] = <read memory from 0x15 failed (0 of 1 bytes read)> [22] = <read memory from 0x16 failed (0 of 1 bytes read)> [23] = <read memory from 0x17 failed (0 of 1 bytes read)> [24] = <read memory from 0x18 failed (0 of 1 bytes read)> [25] = <read memory from 0x19 failed (0 of 1 bytes read)> [26] = <read memory from 0x1a failed (0 of 1 bytes read)> [27] = <read memory from 0x1b failed (0 of 1 bytes read)> [28] = <read memory from 0x1c failed (0 of 1 bytes read)> [29] = <read memory from 0x1d failed (0 of 1 bytes read)> [30] = <read memory from 0x1e failed (0 of 1 bytes read)> [31] = <read memory from 0x1f failed (0 of 1 bytes read)> [32] = <read memory from 0x20 failed (0 of 1 bytes read)> [33] = <read memory from 0x21 failed (0 of 1 bytes read)> [34] = <read memory from 0x22 failed (0 of 1 bytes read)> [35] = <read memory from 0x23 failed (0 of 1 bytes read)> [36] = <read memory from 0x24 failed (0 of 1 bytes read)> [37] = <read memory from 0x25 failed (0 of 1 bytes read)> [38] = <read memory from 0x26 failed (0 of 1 bytes read)> [39] = <read memory from 0x27 failed (0 of 1 bytes read)> [40] = <read memory from 0x28 failed (0 of 1 bytes read)> [41] = <read memory from 0x29 failed (0 of 1 bytes read)> [42] = <read memory from 0x2a failed (0 of 1 bytes read)> [43] = <read memory from 0x2b failed (0 of 1 bytes read)> [44] = <read memory from 0x2c failed (0 of 1 bytes read)> [45] = <read memory from 0x2d failed (0 of 1 bytes read)> [46] = <read memory from 0x2e failed (0 of 1 bytes read)> [47] = <read memory from 0x2f failed (0 of 1 bytes read)> [48] = <read memory from 0x30 failed (0 of 1 bytes read)> [49] = <read memory from 0x31 failed (0 of 1 bytes read)> [50] = <read memory from 0x32 failed (0 of 1 bytes read)> [51] = <read memory from 0x33 failed (0 of 1 bytes read)> [52] = <read memory from 0x34 failed (0 of 1 bytes read)> [53] = <read memory from 0x35 failed (0 of 1 bytes read)> [54] = <read memory from 0x36 failed (0 of 1 bytes read)> [55] = <read memory from 0x37 failed (0 of 1 bytes read)> [56] = <read memory from 0x38 failed (0 of 1 bytes read)> [57] = <read memory from 0x39 failed (0 of 1 bytes read)> [58] = <read memory from 0x3a failed (0 of 1 bytes read)> [59] = <read memory from 0x3b failed (0 of 1 bytes read)> [60] = <read memory from 0x3c failed (0 of 1 bytes read)> [61] = <read memory from 0x3d failed (0 of 1 bytes read)> [62] = <read memory from 0x3e failed (0 of 1 bytes read)> [63] = <read memory from 0x3f failed (0 of 1 bytes read)> [64] = <read memory from 0x40 failed (0 of 1 bytes read)> [65] = <read memory from 0x41 failed (0 of 1 bytes read)> [66] = <read memory from 0x42 failed (0 of 1 bytes read)> [67] = <read memory from 0x43 failed (0 of 1 bytes read)> [68] = <read memory from 0x44 failed (0 of 1 bytes read)> [69] = <read memory from 0x45 failed (0 of 1 bytes read)> [70] = <read memory from 0x46 failed (0 of 1 bytes read)> [71] = <read memory from 0x47 failed (0 of 1 bytes read)> [72] = <read memory from 0x48 failed (0 of 1 bytes read)> [73] = <read memory from 0x49 failed (0 of 1 bytes read)> [74] = <read memory from 0x4a failed (0 of 1 bytes read)> [75] = <read memory from 0x4b failed (0 of 1 bytes read)> [76] = <read memory from 0x4c failed (0 of 1 bytes read)> [77] = <read memory from 0x4d failed (0 of 1 bytes read)> [78] = <read memory from 0x4e failed (0 of 1 bytes read)> [79] = <read memory from 0x4f failed (0 of 1 bytes read)> [80] = <read memory from 0x50 failed (0 of 1 bytes read)> [81] = <read memory from 0x51 failed (0 of 1 bytes read)> [82] = <read memory from 0x52 failed (0 of 1 bytes read)> [83] = <read memory from 0x53 failed (0 of 1 bytes read)> [84] = <read memory from 0x54 failed (0 of 1 bytes read)> [85] = <read memory from 0x55 failed (0 of 1 bytes read)> [86] = <read memory from 0x56 failed (0 of 1 bytes read)> [87] = <read memory from 0x57 failed (0 of 1 bytes read)> [88] = <read memory from 0x58 failed (0 of 1 bytes read)> [89] = <read memory from 0x59 failed (0 of 1 bytes read)> [90] = <read memory from 0x5a failed (0 of 1 bytes read)> [91] = <read memory from 0x5b failed (0 of 1 bytes read)> [92] = <read memory from 0x5c failed (0 of 1 bytes read)> [93] = <read memory from 0x5d failed (0 of 1 bytes read)> [94] = <read memory from 0x5e failed (0 of 1 bytes read)> [95] = <read memory from 0x5f failed (0 of 1 bytes read)> [96] = <read memory from 0x60 failed (0 of 1 bytes read)> [97] = <read memory from 0x61 failed (0 of 1 bytes read)> [98] = <read memory from 0x62 failed (0 of 1 bytes read)> [99] = <read memory from 0x63 failed (0 of 1 bytes read)> [100] = <read memory from 0x64 failed (0 of 1 bytes read)> [101] = <read memory from 0x65 failed (0 of 1 bytes read)> [102] = <read memory from 0x66 failed (0 of 1 bytes read)> [103] = <read memory from 0x67 failed (0 of 1 bytes read)> [104] = <read memory from 0x68 failed (0 of 1 bytes read)> [105] = <read memory from 0x69 failed (0 of 1 bytes read)> [106] = <read memory from 0x6a failed (0 of 1 bytes read)> [107] = <read memory from 0x6b failed (0 of 1 bytes read)> [108] = <read memory from 0x6c failed (0 of 1 bytes read)> [109] = <read memory from 0x6d failed (0 of 1 bytes read)> [110] = <read memory from 0x6e failed (0 of 1 bytes read)> [111] = <read memory from 0x6f failed (0 of 1 bytes read)> [112] = <read memory from 0x70 failed (0 of 1 bytes read)> [113] = <read memory from 0x71 failed (0 of 1 bytes read)> [114] = <read memory from 0x72 failed (0 of 1 bytes read)> [115] = <read memory from 0x73 failed (0 of 1 bytes read)> [116] = <read memory from 0x74 failed (0 of 1 bytes read)> [117] = <read memory from 0x75 failed (0 of 1 bytes read)> [118] = <read memory from 0x76 failed (0 of 1 bytes read)> [119] = <read memory from 0x77 failed (0 of 1 bytes read)> [120] = <read memory from 0x78 failed (0 of 1 bytes read)> [121] = <read memory from 0x79 failed (0 of 1 bytes read)> [122] = <read memory from 0x7a failed (0 of 1 bytes read)> [123] = <read memory from 0x7b failed (0 of 1 bytes read)> [124] = <read memory from 0x7c failed (0 of 1 bytes read)> [125] = <read memory from 0x7d failed (0 of 1 bytes read)> [126] = <read memory from 0x7e failed (0 of 1 bytes read)> [127] = <read memory from 0x7f failed (0 of 1 bytes read)> [128] = <read memory from 0x80 failed (0 of 1 bytes read)> [129] = <read memory from 0x81 failed (0 of 1 bytes read)> [130] = <read memory from 0x82 failed (0 of 1 bytes read)> [131] = <read memory from 0x83 failed (0 of 1 bytes read)> [132] = <read memory from 0x84 failed (0 of 1 bytes read)> [133] = <read memory from 0x85 failed (0 of 1 bytes read)> [134] = <read memory from 0x86 failed (0 of 1 bytes read)> [135] = <read memory from 0x87 failed (0 of 1 bytes read)> [136] = <read memory from 0x88 failed (0 of 1 bytes read)> [137] = <read memory from 0x89 failed (0 of 1 bytes read)> [138] = <read memory from 0x8a failed (0 of 1 bytes read)> [139] = <read memory from 0x8b failed (0 of 1 bytes read)> [140] = <read memory from 0x8c failed (0 of 1 bytes read)> [141] = <read memory from 0x8d failed (0 of 1 bytes read)> [142] = <read memory from 0x8e failed (0 of 1 bytes read)> [143] = <read memory from 0x8f failed (0 of 1 bytes read)> [144] = <read memory from 0x90 failed (0 of 1 bytes read)> [145] = <read memory from 0x91 failed (0 of 1 bytes read)> [146] = <read memory from 0x92 failed (0 of 1 bytes read)> [147] = <read memory from 0x93 failed (0 of 1 bytes read)> [148] = <read memory from 0x94 failed (0 of 1 bytes read)> [149] = <read memory from 0x95 failed (0 of 1 bytes read)> [150] = <read memory from 0x96 failed (0 of 1 bytes read)> [151] = <read memory from 0x97 failed (0 of 1 bytes read)> [152] = <read memory from 0x98 failed (0 of 1 bytes read)> [153] = <read memory from 0x99 failed (0 of 1 bytes read)> [154] = <read memory from 0x9a failed (0 of 1 bytes read)> [155] = <read memory from 0x9b failed (0 of 1 bytes read)> [156] = <read memory from 0x9c failed (0 of 1 bytes read)> [157] = <read memory from 0x9d failed (0 of 1 bytes read)> [158] = <read memory from 0x9e failed (0 of 1 bytes read)> [159] = <read memory from 0x9f failed (0 of 1 bytes read)> [160] = <read memory from 0xa0 failed (0 of 1 bytes read)> [161] = <read memory from 0xa1 failed (0 of 1 bytes read)> [162] = <read memory from 0xa2 failed (0 of 1 bytes read)> [163] = <read memory from 0xa3 failed (0 of 1 bytes read)> [164] = <read memory from 0xa4 failed (0 of 1 bytes read)> [165] = <read memory from 0xa5 failed (0 of 1 bytes read)> [166] = <read memory from 0xa6 failed (0 of 1 bytes read)> [167] = <read memory from 0xa7 failed (0 of 1 bytes read)> [168] = <read memory from 0xa8 failed (0 of 1 bytes read)> [169] = <read memory from 0xa9 failed (0 of 1 bytes read)> [170] = <read memory from 0xaa failed (0 of 1 bytes read)> [171] = <read memory from 0xab failed (0 of 1 bytes read)> [172] = <read memory from 0xac failed (0 of 1 bytes read)> [173] = <read memory from 0xad failed (0 of 1 bytes read)> [174] = <read memory from 0xae failed (0 of 1 bytes read)> [175] = <read memory from 0xaf failed (0 of 1 bytes read)> [176] = <read memory from 0xb0 failed (0 of 1 bytes read)> [177] = <read memory from 0xb1 failed (0 of 1 bytes read)> [178] = <read memory from 0xb2 failed (0 of 1 bytes read)> [179] = <read memory from 0xb3 failed (0 of 1 bytes read)> [180] = <read memory from 0xb4 failed (0 of 1 bytes read)> [181] = <read memory from 0xb5 failed (0 of 1 bytes read)> [182] = <read memory from 0xb6 failed (0 of 1 bytes read)> [183] = <read memory from 0xb7 failed (0 of 1 bytes read)> [184] = <read memory from 0xb8 failed (0 of 1 bytes read)> [185] = <read memory from 0xb9 failed (0 of 1 bytes read)> [186] = <read memory from 0xba failed (0 of 1 bytes read)> [187] = <read memory from 0xbb failed (0 of 1 bytes read)> [188] = <read memory from 0xbc failed (0 of 1 bytes read)> [189] = <read memory from 0xbd failed (0 of 1 bytes read)> [190] = <read memory from 0xbe failed (0 of 1 bytes read)> [191] = <read memory from 0xbf failed (0 of 1 bytes read)> [192] = <read memory from 0xc0 failed (0 of 1 bytes read)> [193] = <read memory from 0xc1 failed (0 of 1 bytes read)> [194] = <read memory from 0xc2 failed (0 of 1 bytes read)> [195] = <read memory from 0xc3 failed (0 of 1 bytes read)> [196] = <read memory from 0xc4 failed (0 of 1 bytes read)> [197] = <read memory from 0xc5 failed (0 of 1 bytes read)> [198] = <read memory from 0xc6 failed (0 of 1 bytes read)> [199] = <read memory from 0xc7 failed (0 of 1 bytes read)> [200] = <read memory from 0xc8 failed (0 of 1 bytes read)> [201] = <read memory from 0xc9 failed (0 of 1 bytes read)> [202] = <read memory from 0xca failed (0 of 1 bytes read)> [203] = <read memory from 0xcb failed (0 of 1 bytes read)> [204] = <read memory from 0xcc failed (0 of 1 bytes read)> [205] = <read memory from 0xcd failed (0 of 1 bytes read)> [206] = <read memory from 0xce failed (0 of 1 bytes read)> [207] = <read memory from 0xcf failed (0 of 1 bytes read)> [208] = <read memory from 0xd0 failed (0 of 1 bytes read)> [209] = <read memory from 0xd1 failed (0 of 1 bytes read)> [210] = <read memory from 0xd2 failed (0 of 1 bytes read)> [211] = <read memory from 0xd3 failed (0 of 1 bytes read)> [212] = <read memory from 0xd4 failed (0 of 1 bytes read)> [213] = <read memory from 0xd5 failed (0 of 1 bytes read)> [214] = <read memory from 0xd6 failed (0 of 1 bytes read)> [215] = <read memory from 0xd7 failed (0 of 1 bytes read)> [216] = <read memory from 0xd8 failed (0 of 1 bytes read)> [217] = <read memory from 0xd9 failed (0 of 1 bytes read)> [218] = <read memory from 0xda failed (0 of 1 bytes read)> [219] = <read memory from 0xdb failed (0 of 1 bytes read)> [220] = <read memory from 0xdc failed (0 of 1 bytes read)> [221] = <read memory from 0xdd failed (0 of 1 bytes read)> [222] = <read memory from 0xde failed (0 of 1 bytes read)> [223] = <read memory from 0xdf failed (0 of 1 bytes read)> [224] = <read memory from 0xe0 failed (0 of 1 bytes read)> [225] = <read memory from 0xe1 failed (0 of 1 bytes read)> [226] = <read memory from 0xe2 failed (0 of 1 bytes read)> [227] = <read memory from 0xe3 failed (0 of 1 bytes read)> [228] = <read memory from 0xe4 failed (0 of 1 bytes read)> [229] = <read memory from 0xe5 failed (0 of 1 bytes read)> [230] = <read memory from 0xe6 failed (0 of 1 bytes read)> [231] = <read memory from 0xe7 failed (0 of 1 bytes read)> [232] = <read memory from 0xe8 failed (0 of 1 bytes read)> [233] = <read memory from 0xe9 failed (0 of 1 bytes read)> [234] = <read memory from 0xea failed (0 of 1 bytes read)> [235] = <read memory from 0xeb failed (0 of 1 bytes read)> [236] = <read memory from 0xec failed (0 of 1 bytes read)> [237] = <read memory from 0xed failed (0 of 1 bytes read)> [238] = <read memory from 0xee failed (0 of 1 bytes read)> [239] = <read memory from 0xef failed (0 of 1 bytes read)> [240] = <read memory from 0xf0 failed (0 of 1 bytes read)> [241] = <read memory from 0xf1 failed (0 of 1 bytes read)> [242] = <read memory from 0xf2 failed (0 of 1 bytes read)> [243] = <read memory from 0xf3 failed (0 of 1 bytes read)> [244] = <read memory from 0xf4 failed (0 of 1 bytes read)> [245] = <read memory from 0xf5 failed (0 of 1 bytes read)> [246] = <read memory from 0xf6 failed (0 of 1 bytes read)> [247] = <read memory from 0xf7 failed (0 of 1 bytes read)> [248] = <read memory from 0xf8 failed (0 of 1 bytes read)> [249] = <read memory from 0xf9 failed (0 of 1 bytes read)> [250] = <read memory from 0xfa failed (0 of 1 bytes read)> [251] = <read memory from 0xfb failed (0 of 1 bytes read)> [252] = <read memory from 0xfc failed (0 of 1 bytes read)> [253] = <read memory from 0xfd failed (0 of 1 bytes read)> [254] = <read memory from 0xfe failed (0 of 1 bytes read)> [255] = <read memory from 0xff failed (0 of 1 bytes read)> ... } } } } } *** Some of the displayed variables have more members than the debugger will show by default. To show all of them, you can either use the --show-all-children option to frame variable or raise the limit by changing the target.max-children-count setting. 
v nested_non_zero_yep
(option_like_enum::NestedNonZero) nested_non_zero_yep = { $variants$ = { $variant$ = { value = { 0 = 10.5 1 = { a = 10 b = 20 c = 0x0000555555554750 U"x\U0000fffd\U0000fffd⤓\U0000fffd\U0000fffd\U0000fffd\U0000fffd\U0000fffd\U0000fffd\U0000fffd\U0000fffdy\U0000fffd`\vᆬ|ኜ\U00000090ዜ¨ዼÀጬØፌð፜ĄᑜĠᑬĴᑼƄᒼŌ\U00000014" } } } $variant$0 = { $discr$ = 93824992233296 value = } } } 
v nested_non_zero_nope
(option_like_enum::NestedNonZero) nested_non_zero_nope = { $variants$ = { $variant$ = { value = { 0 = 0 1 = { a = 21845 b = 1431669520 c = 0x0000000000000000 Summary Unavailable } } } $variant$0 = { $discr$ = 0 value = } } } 
quit
------------------------------------------
--- stderr -------------------------------
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 31, in summary_lookup
    return StdStrSummaryProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 306, in StdStrSummaryProvider
    data = data.decode(encoding="UTF-8") if PY3 else data
           ^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'decode'
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
------------------------------------------

---- [debuginfo-lldb] tests/debuginfo/option-like-enum.rs stdout end ----
---- [debuginfo-lldb] tests/debuginfo/unique-enum.rs stdout ----
NOTE: compiletest thinks it is using LLDB version 1800

error: check directive(s) from `/home/bennet/git/rust/tests/debuginfo/unique-enum.rs` not found in debugger output. errors:
    (unique-enum.rs:26) `(unique_enum::ABC) *the_a = TheA{x:0, y:8970181431921507452} { x = 0 y = 8970181431921507452 }`
    (unique-enum.rs:29) `(unique_enum::ABC) *the_b = TheB(0, 286331153, 286331153) { 0 = 0 1 = 286331153 2 = 286331153 }`
    (unique-enum.rs:32) `(unique_enum::Univariant) *univariant = TheOnlyCase(123234) { 0 = 123234 }`
status: exit status: 0
command: LLDB_BATCHMODE_SCRIPT_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/unique-enum.lldb/unique-enum.debugger.script" LLDB_BATCHMODE_TARGET_PATH="/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/unique-enum.lldb/a" PYTHONPATH="/home/bennet/git/rust/src/etc" PYTHONUNBUFFERED="1" "lldb" "--one-line" "script --language python -- import lldb_batchmode; lldb_batchmode.main()"
--- stdout -------------------------------
(lldb) script --language python -- import lldb_batchmode; lldb_batchmode.main()
LLDB batch-mode script
----------------------
Debugger commands script is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/unique-enum.lldb/unique-enum.debugger.script'.
Target executable is '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/unique-enum.lldb/a'.
Current working directory is '/home/bennet/git/rust'
Creating a target for '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/unique-enum.lldb/a'
settings set auto-confirm true

version
lldb version 18.1.3 
command script import /home/bennet/git/rust/src/etc/lldb_lookup.py
# Forces test-compliant formatting to all other types
type synthetic add -l lldb_lookup.synthetic_lookup -x ".*" --category Rust
# Std String
type synthetic add -l lldb_lookup.StdStringSyntheticProvider -x "^(alloc::([a-z_]+::)+)String$" --category Rust
type summary add -F lldb_lookup.StdStringSummaryProvider  -e -x -h "^(alloc::([a-z_]+::)+)String$" --category Rust
# Std str
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?str$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?str$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCStrSyntheticProvider -x "^ref(_mut)?\$<str\$>$" --category Rust
type summary add -F lldb_lookup.StdStrSummaryProvider -e -h -x "^ref(_mut)?\$<str\$>$" --category Rust
# Array
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?\\[.+\\]$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?\\[.+\\]$" --category Rust
# Slice
## MSVC
type synthetic add -l lldb_lookup.MSVCStdSliceSyntheticProvider -x "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
type summary add -F lldb_lookup.StdSliceSummaryProvider -e -x -h "^ref(_mut)?\$<slice2\$<.+> >" --category Rust
# OsString
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::ffi::([a-z_]+::)+)OsString$" --category Rust
# Vec
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Vec<.+>$" --category Rust
# VecDeque
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)VecDeque<.+>$" --category Rust
# BTreeSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeSet<.+>$" --category Rust
# BTreeMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)BTreeMap<.+>$" --category Rust
# HashMap
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashMap<.+>$" --category Rust
# HashSet
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::collections::([a-z_]+::)+)HashSet<.+>$" --category Rust
# Rc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Rc<.+>$" --category Rust
# Arc
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(alloc::([a-z_]+::)+)Arc<.+>$" --category Rust
# Cell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Cell<.+>$" --category Rust
# RefCell
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
# NonZero
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type synthetic add -l lldb_lookup.synthetic_lookup -x "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(core::([a-z_]+::)+)NonZero<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
# PathBuf
type synthetic add -l lldb_lookup.synthetic_lookup -x "^(std::([a-z_]+::)+)PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^(std::([a-z_]+::)+)PathBuf$" --category Rust
# Path
type synthetic add -l lldb_lookup.synthetic_lookup -x "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^&(mut )?(std::([a-z_]+::)+)Path$" --category Rust
# Enum
# type summary add -F lldb_lookup.ClangEncodedEnumSummaryProvider -e -h "lldb_lookup.is_sum_type_enum" --recognizer-function --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCEnumSyntheticProvider -x "^enum2\$<.+>$" --category Rust
type summary add -F lldb_lookup.MSVCEnumSummaryProvider -e -x -h "^enum2\$<.+>$" --category Rust
## MSVC Variants
type synthetic add -l lldb_lookup.synthetic_lookup -x "^enum2\$<.+>::.*$" --category Rust
type summary add -F lldb_lookup.summary_lookup  -e -x -h "^enum2\$<.+>::.*$" --category Rust
# Tuple
type synthetic add -l lldb_lookup.synthetic_lookup -x "^\(.*\)$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^\(.*\)$" --category Rust
## MSVC
type synthetic add -l lldb_lookup.MSVCTupleSyntheticProvider -x "^tuple\$<.+>$" --category Rust
type summary add -F lldb_lookup.TupleSummaryProvider -e -x -h "^tuple\$<.+>$" --category Rust
type category enable Rust

breakpoint set --file 'unique-enum.rs' --line 69
DEBUG: breakpoint added, id = 1
Breakpoint 1: where = a`unique_enum::main + 495 at unique-enum.rs:69:5, address = 0x000000000000252f 
DEBUG: registering breakpoint callback, id = 1
Error while trying to register breakpoint callback, id = 1, message = error: could not get num args: can't find callable: breakpoint_callback

run
Process 82597 launched: '/home/bennet/git/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/unique-enum.lldb/a' (x86_64) Process 82597 stopped * thread #1, name = 'a', stop reason = breakpoint 1.1 frame #0: 0x000055555555652f a`unique_enum::main at unique-enum.rs:69:5 66 67 let univariant: Box<_> = Box::new(Univariant::TheOnlyCase(123234)); 68 -> 69 zzz(); // #break ^ 70 } 71 72 fn zzz() {()} 
v *the_a
(unique_enum::ABC) *the_a = { $variants$ = { $variant$0 = { $discr$ = 0 value = { x = 0 y = 8970181431921507452 } } $variant$1 = { $discr$ = 0 value = { 0 = 8970181431921507452 1 = 0 2 = 0 } } } } 
v *the_b
(unique_enum::ABC) *the_b = { $variants$ = { $variant$0 = { $discr$ = 1 value = { x = 140733479719185 y = 0 } } $variant$1 = { $discr$ = 1 value = { 0 = 0 1 = 286331153 2 = 286331153 } } } } 
v *univariant
(unique_enum::Univariant) *univariant = { $variants$ = { $variant$ = { value = { 0 = 123234 } } } } 
quit
------------------------------------------
--- stderr -------------------------------
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_lookup.py", line 108, in synthetic_lookup
    return ClangEncodedEnumProvider(valobj, _dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
Traceback (most recent call last):
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 553, in ClangEncodedEnumSummaryProvider
    enum_synth = ClangEncodedEnumProvider(valobj.GetNonSyntheticValue(), _dict)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 514, in __init__
    self.update()
  File "/home/bennet/git/rust/src/etc/lldb_providers.py", line 534, in update
    ).GetSyntheticValue()
      ^^^^^^^^^^^^^^^^^
AttributeError: 'SBValue' object has no attribute 'GetSyntheticValue'. Did you mean: 'GetNonSyntheticValue'?
------------------------------------------

---- [debuginfo-lldb] tests/debuginfo/unique-enum.rs stdout end ----

failures:
    [debuginfo-lldb] tests/debuginfo/struct-in-enum.rs
    [debuginfo-lldb] tests/debuginfo/function-prologue-stepping-regular.rs
    [debuginfo-lldb] tests/debuginfo/coroutine-objects.rs
    [debuginfo-lldb] tests/debuginfo/by-value-non-immediate-argument.rs
    [debuginfo-lldb] tests/debuginfo/enum-thinlto.rs
    [debuginfo-lldb] tests/debuginfo/borrowed-enum.rs
    [debuginfo-lldb] tests/debuginfo/struct-style-enum.rs
    [debuginfo-lldb] tests/debuginfo/function-arg-initialization.rs
    [debuginfo-lldb] tests/debuginfo/tuple-style-enum.rs
    [debuginfo-lldb] tests/debuginfo/macro-stepping.rs
    [debuginfo-lldb] tests/debuginfo/issue-57822.rs
    [debuginfo-lldb] tests/debuginfo/pretty-std.rs
    [debuginfo-lldb] tests/debuginfo/method-on-enum.rs
    [debuginfo-lldb] tests/debuginfo/option-like-enum.rs
    [debuginfo-lldb] tests/debuginfo/unique-enum.rs

test result: FAILED. 2 passed; 15 failed; 321 ignored; 0 measured; 0 filtered out; finished in 3.14s

Some tests failed in compiletest suite=debuginfo mode=debuginfo host=x86_64-unknown-linux-gnu target=x86_64-unknown-linux-gnu
help: ignored 268 up-to-date tests; use `--force-rerun` to prevent this

Build completed unsuccessfully in 0:00:22

Does someone have an idea how to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-run-make Area: port run-make Makefiles to rmake.rs I-libs-api-nominated Nominated for discussion during a libs-api team meeting. S-waiting-on-t-libs-api Status: Awaiting decision from T-libs-api T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants